<?php
$name = $this->myName;
?>
<h3>This is jquery playing ground of <?php echo $name?></h3>

<div style="border: 1px solid #ccc; padding: 10px;
margin: 10px; min-width: 800px; min-height: 600px">

    <p>This is a paragraph.</p>
    <p>This is another paragraph.</p>
    <button>Click me</button>

</div>
<script>
    $(document).ready(function(){
        $("button").click(function(){
            $("p").hide();
        });
    });
</script>